<?php
	require_once("../../include/global.php");
	if($_SESSION["admin"]=="")
	{
 	echo "<script language=javascript>alert('登陆失效，请重新登陆');window.open('../login.php','_top')</script>";
	}
	if ($_SESSION["flag"]!=2){
		echo "<script language=javascript>alert('访问无效，请先登录');window.open('../login.php','_top')</script>";
	}
?>